class CreateDefaultBlog < ActiveRecord::Migration
  def self.up
    user = User.find(:first)
    if user
      blog = Blog.new
      blog.user = User.find(:first)
      blog.save!
    end
  end

  def self.down
  end
end
